<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>注册</title>
<%@include file="/view/common/js-css.jsp" %>
</head>
<body>
	<!-- 登录失败后的页面显示 -->
		<c:if test="${!empty param.registerError }">
			<div class="alert alert-danger alert-dismissible fade in" role="alert" style="text-align: center;">
		       <button type="button" class="close" data-dismiss="alert" aria-label="Close">
		       <span aria-hidden="true">×</span></button>
		       <strong>注册失败！</strong>
			</div>
		</c:if>
		
	<center><h1>企业注册</h1></center>
	<hr>
	
	<form action="<%=request.getContextPath()%>/CompanyServlet?command=register" method="post">
		<div class="form-group">
			<input type="text" class="form-control" name="code" placeholder="账号……">
		</div>
		<div class="form-group">
			<input type="password" class="form-control" name="password" placeholder="密码……">
		</div>
		<div class="form-group">
			<input type="password" class="form-control" name="password" placeholder="确认密码……">
		</div>
		<div class="form-group">
			<input type="text" class="form-control" name="name" placeholder="企业名称……">
		</div>
		<div class="form-group">
		    <input type="text" class="form-control" name="email" placeholder="企业邮箱...">
		  </div>
		<div class="form-group">
			<input type="text" class="form-control" name="phone" placeholder="联系电话……">
		</div>
		<div class="form-group">
			<input type="text" class="form-control" name="linkman" placeholder="联系人……">
		</div>
		<div class="form-group">
			<input type="text" class="form-control" name="address" placeholder="联系地址……">
		</div>
		<div class="form-group">
			<input type="text" class="form-control" name="numbers" placeholder="员工人数……">
		</div>
		<div class="form-group">
			<input type="text" class="form-control" name="slogan" placeholder="服务终值……">
		</div>
		  <button type="submit" class="btn btn-primary">Submit</button>
	</form>
</body>
</html>